package com.fh.alipay.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @FileName: Authorize
 * @Author: fh
 * @Date: 2021/5/27 15:08
 * @Description: authorize 是判断 是否需要 token
 * @Version: 1.0
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Authorize {

    boolean required() default true;
}
